<?php

//判断是否登录

session_start();
if(isset($_SESSION["user"])){
    header('Location: user.php');
}else{
    require "./view/register.html";
}
